export const setToken = (token) =>{
    sessionStorage.setItem('TOKEN',token)
}

export const getToken = ()=>{
    return sessionStorage.getItem('TOKEN')
}

// 清除token
export const removeToken = ()=>{
    sessionStorage.removeItem('TOKEN')
}